home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
BOSS_LB2.ARJ
/
WINBOSS.FNS
< prev
Wrap
Text File
|
1992-03-05
|
12KB
|
173 lines
void wn_windows(void);
int wn_activate(struct wcb *wn);
int wns_push(int imgix);
int wns_pop(int imgix);
int wns_alloc(unsigned size,unsigned *seg,unsigned *off,unsigned *ptr);
int wns_free(unsigned seg,unsigned off);
int wns_image(struct wcb *wn,int imgix,int flag);
void wns_blt(int row,int col,int width,int height,unsigned tseg,unsigned toff,int imgix,int flag);
unsigned int _getca(int page,int row,int col);
void _putca(int page,unsigned atch,int row,int col);
void _absloc(int page,int row,int col);
void v_wca(int page,int ch,int at,int count);
void v_wtty(int ch);
void v_cls(int at);
void v_spage(int page);
void v_smode(int mode);
void v_locate(int page,int row,int col);
void v_hidec(void);
void v_sapu(int nl,int rul,int cul,int rlr,int clr,int at);
void v_sapd(int nl,int rul,int cul,int rlr,int clr,int at);
void v_rcpos(int page,int *row,int *col);
void v_rcvs(int *page,int *mode,int *cols);
int v_getch(void);
void v_kflush(void);
void v_sctype(int type,int sline,int eline);
void v_gctype(int page,int *sline,int *eline);
int v_setatr(int bg,int fg,int blink,int bold);
int v_setrev(int atrib);
void wn_boxset(int ul,int ur,int tb,int sd,int ll,int lr);
int wn_close(struct wcb *wn);
int wn_clr(struct wcb *wn);
int wn_clrrow(struct wcb *wn,int row);
int wn_clreol(struct wcb *wn,int r,int c);
int wn_clreow(struct wcb *wn,int r,int c);
void wn_color(struct wcb *wn,int atrib,int batrib);
int wn_dborder(struct wcb *wn,int ul,int ur,int tb,int sd,int ll,int lr);
void wn_border(int style);
int wn_drawborder(struct wcb *w,int style);
int wn_delrow(struct wcb *wn,int row);
void wn_dma(int flag);
void wn_dmode(int flag);
int wn_dtext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt);
int wn_fixcsr(struct wcb *wn);
int wn_frmcls(struct wi_scb * *frm);
int wn_frmget(struct wi_scb * *frm);
struct wi_scb * *wn_frmopn(int nfields);
int wn_gbool(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int *value,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gdate(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int *month,int *day,int *year,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gdouble(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,double *value,int fwidth,int ndec,double low,double high,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gedate(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int *day,int *month,int *year,char *ubuff,char *hlpmsg,char *errmsg);
char *wn_gets(struct wcb *wn,char *s,int va,char *cl);
int wn_gfloat(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,float *value,int fwidth,int ndec,double low,double high,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gint(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int *value,int fwidth,int low,int high,char *ubuff,char *hlpmsg,char *errmsg);
int wn_glong(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,long *value,int fwidth,long low,long high,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gphone(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int *acode,int *nnx,int *num,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gpword(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gssn(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int *n1,int *n2,int *n3,char *ubuff,char *hlpmsg,char *errmsg);
int wns_gtext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gtext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gutext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gltext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gatext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int fwidth,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gmltext(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int fwidth,int nl,char * *ubuff,char *hlpmsg,char *errmsg);
int wn_gtime(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,int *hours,int *mins,int *secs,char *ubuff,char *hlpmsg,char *errmsg);
int wn_guint(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,unsigned int *value,int fwidth,unsigned int low,unsigned int high,char *ubuff,char *hlpmsg,char *errmsg);
int wn_gulong(int fun,struct wi_scb * *frm,int fld,struct wcb *wn,int row,int col,char *prmpt,unsigned atrib,char fill,unsigned long *value,int fwidth,unsigned long low,unsigned long high,char *ubuff,char *hlpmsg,char *errmsg);
int wn_hlinit(int row,int col,int width,int height,unsigned int atrib,unsigned int batrib,char *help_file_name);
int wn_help(char *subject);
int wn_iemsg(char *msg);
int wn_ihmsg(char *msg);
int wn_psinit(int rows,int cols);
int wn_init(void);
int wn_exit(void);
void wn_shkey(unsigned int scan_code);
int wn_input(struct wcb *wn,int row,int col,char *prmpt,char *mask,char fill,unsigned int atrib,char *ubuff,char *hlpmsg);
int wn_insrow(struct wcb *wn,int row);
int wn_locate(struct wcb *wn,int row,int col);
void mo_die(char *msg);
void wns_mo_check(struct mcb *mptr,char *msg);
struct mcb *mo_reset(void);
void mo_show(struct mcb *m);
void mo_hide(struct mcb *m);
void mo_pos(struct mcb *m);
void mo_move(struct mcb *m,int row,int col);
void mo_pbinfo(struct mcb *m,int button);
void mo_rbinfo(struct mcb *m,int button);
void mo_clim(struct mcb *m,int cmin,int cmax);
void mo_rlim(struct mcb *m,int rmin,int rmax);
void mo_sgcursor(struct mcb *m,unsigned hhot,unsigned vhot,unsigned seg,unsigned off);
void mo_scursor(struct mcb *m,int type,int start,int stop);
void mo_motion(struct mcb *m);
void mo_task(struct mcb *m,unsigned mask,unsigned tseg,unsigned toff);
void mo_lpon(struct mcb *m);
void mo_lpoff(struct mcb *m);
void mo_ratio(struct mcb *m,int ver,int hor);
void mo_rcpos(struct mcb *mptr,int *status,int *row,int *col);
void mo_locate(struct mcb *mptr,int row,int col);
void mo_press(struct mcb *mptr,int button,int *status,int *nclik,int *row,int *col);
void mo_release(struct mcb *mptr,int button,int *status,int *nclik,int *row,int *col);
void mo_reigon(struct mcb *mptr,int row,int col,int width,int height);
void mo_setptr(struct mcb *mptr,unsigned int tchar,unsigned int atrib);
void mo_wait(struct mcb *mptr);
int mo_nbutt(struct mcb *mptr);
void wns_mo_show(void);
void wns_mo_hide(void);
int v_getchm(void);
struct wcb *wn_move(struct wcb *wn,int row,int col);
int wn_popup(int page,int row,int col,int width,int height,int atrib,int batrib,struct pmenu *mx,int cflag);
struct wcb *wn_qpopup(int page,int row,int col,int width,int height,int atrib,int batrib,struct pmenu *mx);
int wn_natrib(struct wcb *wn,int natr);
struct wcb *wn_open(int page,int row,int col,int width,int height,int atrib,int batrib);
int wns_shfun(struct wcb *wn,int fun,unsigned attr);
void wns_explode(struct wcb *wn);
void wns_vbar(struct wcb *wn,int rul,int cul,int rlr,int clr,int atrib);
unsigned long wns_gticks(void);
void wns_stdiv(unsigned long div);
int wn_pdopen(int page,int row,int col,int width,int height,int watr,int batr,int hkatr,struct pdmenu *mx,int aflag);
void wn_pdclose(struct pdmenu *mx);
int wn_pdupdate(struct pdmenu *mx,int i,int style);
int wn_pdsettog(struct pdmenu *mx,int i);
int wn_pdgettog(struct pdmenu *mx,int i);
void wn_pdactive(struct pdmenu *mx,int i,int action);
int wn_pdtype(struct pdmenu *mx,int i,char newtype,int action);
int wn_pdget(struct pdmenu *mx);
int wn_popup(int page,int row,int col,int width,int height,int atrib,int batrib,struct pmenu *mx,int cflag);
struct wcb *wn_qpopup(int page,int row,int col,int width,int height,int atrib,int batrib,struct pmenu *mx);
int wn_printf(struct wcb *wn,char *cs,...);
int wn_puts(struct wcb *wn,int row,int col,char *s);
int wn_putsa(struct wcb *wn,int row,int col,char *s,unsigned atrib);
int wn_putc(struct wcb *wn,int row,int col,char c);
int wn_putca(struct wcb *wn,int row,int col,char c,unsigned a);
unsigned int wn_getca(struct wcb *wn,int row,int col);
int wn_restore(struct wcb *wn);
struct wcb *wn_save(int page,int row,int col,int width,int height);
void wn_scroll(struct wcb *wn,int method);
int wn_spawnl(unsigned smode,char *path,char *a1);
int wn_stitle(struct wcb *wn,char *title,int location);
int wn_stitla(struct wcb *wn,char *title,int atr,int location);
char *wn_sleftj(char *s);
char *wn_srightj(char *s);
char *wn_scenter(char *s,char *t,int w);
char *wn_sdelspc(char *s,int code);
int wn_strndx(char *s,char *t,int exp);
int wn_cndx(char *s,char c,int exp);
unsigned wns_mtype(void);
void wns_delc(struct wcb *wn);
void wns_wtext(struct wcb *wn,char *string);
void wns_movscr(int srow,int scol,int w,int h,int drow,int dcol,int mode,int atrib);
void wns_savres(int page,int row,int col,int width,int height,char *array,int flag);
void wns_fixc(int *atrib);
void wns_drow(int page,int c,int atrib,int row,int col,int count);
void wns_dput(struct wcb *wn,int page,int c_atrib,int row,int col);
void wns_err(struct wcb *wn,char *msg);
void wns_ierr(char *msg);
void wns_sapu(int nl,int r1,int c1,int r2,int c2,int atrib);
void wns_sapd(int nl,int r1,int c1,int r2,int c2,int atrib);
void wns_von(void);
void wns_voff(void);
void wns_ssiz(int row,int col);
int wns_ega(int *memsize,int *mode,unsigned int *features,unsigned int *switches);
unsigned int wns_getca(int page,int row,int col);
void wns_putca(int page,unsigned atch,int row,int col);
void wn_sync(struct wcb *wn,int flag);
int wn_title(struct wcb *wn,char *title);
int wn_titla(struct wcb *wn,char *title,int atr);
void wn_wrap(struct wcb *wn,int flag);
void _vidblt(unsigned, unsigned, unsigned, unsigned, int);
int v_kstat(void);
void xferdata(unsigned, unsigned, unsigned, unsigned, int);
void v_border(int);